package com.ym.b2b.provider.service;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.provider.sqlbean.EmCProvider;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

/**
 * @ClassName: EmCProviderService
 * @Description: TODO
 * @Author tangxj
 * @Date 2015-1-15 上午11:18:34
 * @Modify
 * @CopyRight B2B小组
 */

public interface EmCProviderService {

    public Result searchPageEmCProvider(Page<EmCProvider> page, EmCProvider emCProvider) throws DataAccessException;

    public Result showEmCProviderDetail(EmCProvider emCProvider) throws DataAccessException;

    public Result insertProvider(EmCProvider emCProvider) throws DataAccessException;

    public Result updateProvider(EmCProvider emCProvider) throws DataAccessException;

    public Result deleteEmCProvider(EmCProvider emCProvider) throws DataAccessException;

    public Result deleteMultipleEmCProviders(String providerIdList) throws DataAccessException;

    public Result editMultipleEmCProvidersStatus(String providerIdList) throws DataAccessException;
    
    public Result batchUpdateProvider(EmCProvider emCProvider) throws DataAccessException;

}
